import request from '@/utils/request'

// 查询物联网设备列表
export function listWlwsbb(query) {
  return request({
    url: '/ybyj/wlwsbb/list',
    method: 'get',
    params: query
  })
}

// 查询物联网设备详细
export function getWlwsbb(id) {
  return request({
    url: '/ybyj/wlwsbb/' + id,
    method: 'get'
  })
}

// 新增物联网设备
export function addWlwsbb(data) {
  return request({
    url: '/ybyj/wlwsbb',
    method: 'post',
    data: data
  })
}

// 修改物联网设备
export function updateWlwsbb(data) {
  return request({
    url: '/ybyj/wlwsbb',
    method: 'put',
    data: data
  })
}

// 删除物联网设备
export function delWlwsbb(id) {
  return request({
    url: '/ybyj/wlwsbb/' + id,
    method: 'delete'
  })
}


